import 'package:fish_redux/fish_redux.dart';

class OrderHistoryViewState implements Cloneable<OrderHistoryViewState> {
  String userAccount;
  String userIdCard;

  List items;
  @override
  OrderHistoryViewState clone() {
    return OrderHistoryViewState()
      ..userAccount = userAccount
      ..items = items
      ..userIdCard = userIdCard;
  }
}

OrderHistoryViewState initState(Map<String, dynamic> args) {
  return OrderHistoryViewState()
    ..userIdCard = args['idCard']
    ..userAccount = args['account'];
}
